<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="format-detection" content="telephone=no">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>全优加CRM</title>
  </head>
  <body class="CRM">
    <div id="app-box"></div>
    <script src="https://g.alicdn.com/dingding/open-develop/0.9.2/dingtalk.js"></script>
    <!-- <script src="http://192.188.0.109:9774/target/target-script-min.js#anonymous"></script> -->
    <script>
    function IsPC () {
      let userAgentbabyinfo = navigator.userAgent
      let Agents = ['Android', 'iPhone', 'SymbianOS', 'Windows Phone', 'iPad', 'iPod']
      let flag = true
      for (let v = 0; v < Agents.length; v++) {
        if (userAgentbabyinfo.indexOf(Agents[v]) > 0) {
          flag = false
          break
        }
      }
      return flag
    }

    if(!IsPC()) {
      var script = document.createElement('script')
      script.src = 'http://192.188.0.109:9774/target/target-script-min.js#anonymous'
      document.body.appendChild(script)
    }
    </script>
    <!-- built files will be auto injected -->
  </body>
</html>
